package com.alpha.demoretrofit.retrofit.rxjava;

import com.alpha.demoretrofit.retrofit2.MovieSubject;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Project：RetrofitDemo
 * Author：zj
 * Date：2018/1/5
 * Version: 1.0.0
 * Description：
 */
public interface RxMovieApiGet {
    //获取豆瓣Top250 榜单
    @GET("top250")
    Observable<MovieSubject> getTop250(@Query("start") int start, @Query("count") int count);
}
